package com.exp.bookhouse.controller.admin;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Api(value = "管理员错误管理接口",tags = "错误页面路由")
@Controller
public class ErrorControllerAdmin {

    @GetMapping("/error403Page")
    public String error403(){
        return "error/403";
    }

    @GetMapping("/error404Page")
    public String error404(){
        return "error/404";
    }

    @GetMapping("/error500Page")
    public String error500(){
        return "error/500";
    }
}
